using System.Data.Entity.ModelConfiguration;

namespace RA_WebSite.Models.Mapping
{
    public class TipoDiRuggineMap : EntityTypeConfiguration<TipoDiRuggine>
    {
        public TipoDiRuggineMap()
        {
            this.HasKey(t => t.Id);

            this.ToTable("TipoDiRuggine");
            this.Property(t => t.Id).HasColumnName("Id");
            this.Property(t => t.Tipo).HasColumnName("Tipo");
            this.Property(t => t.TipoEsteso).HasColumnName("TipoEsteso");
        }
    }
}
